<!--:
var action = "admin/videoTimePoint/list";
var searchContent = {
-->
<input type="text" name="attr.videoId" value="${attr.videoId}" placeholder="请输入视频id"/>
<!--:
};
var panelBar = {
-->
<ul class="toolBar">
    <li>
        <a class="add" href="admin/videoTimePoint/add" target="navTab" rel="videoTimePoint-add">
            <span>新增时间点配置</span>
        </a>
    </li>
    <li class="line"></li>
    <li>
        <a class="icon" href="admin/videoTimePoint/edit/{itemid}" target="navTab" rel="videoTimePoint-edit">
            <span>修改</span>
        </a>
    </li>
    <li class="line"></li>
     <li>
         <a class="delete" title="确实要删除这些时间节点吗?" target="selectedTodo" rel="ids" href="admin/videoTimePoint/delete">
                <span>批量删除</span>
            </a>
    </li> 
</ul>
<!--:
};
var table = {
-->
<thead>
<tr>
     <th><input type="checkbox" class="checkboxCtrl" group="ids" title=""/></th>
    <th>视频id</th>
    <th>商品id</th>
    <th>时间点（秒）</th>
    <th>持续显示时长（秒）</th>
    <th>距左边的长度（px）</th>
    <th>距上边的高度（px）</th>
    <th>更新时间</th>
</tr>
</thead>
<tbody>
<!--:for (item in page.list) {-->
<tr target="itemid" rel="${item.id}">
    <td><input type="checkbox" name="ids" value="${item.id}" title=""/></td>
    <td>${item.videoId}</td>
    <td>${item.productId}</td>
    <td>
        ${item.timePoint}
    </td>
    <td>${item.duration}</td>
    <td>${item.left}</td>
    <td>${item.top}</td>
    <td>${item.updateTime,'yyyy-MM-dd HH:mm:ss'}</td>
</tr>
<!--:}-->
</tbody>
<!--:
};
layout("/template/navTabPage.html",
        {action : action,
         searchContent : searchContent,
         panelBar : panelBar,
         table : table}) {}
-->